package com.db.williamchart.data.configuration;

import com.db.williamchart.data.AxisType;
import com.db.williamchart.data.Paddings;
import com.db.williamchart.data.Scale;

public class BarChartConfiguration extends ChartConfiguration{
    private int barsBackgroundColor;
    private Float barsSpacing;

    public BarChartConfiguration(int width, int height, Paddings paddings, AxisType axis, Float labelSize, Scale scale, String labelsFormatter) {
        super(width, height, paddings, axis, labelSize, scale, labelsFormatter);
    }

    public BarChartConfiguration(int width, int height, Paddings paddings, AxisType axis, Float labelSize, Scale scale, String labelsFormatter, int barsBackgroundColor, Float barsSpacing) {
        super(width, height, paddings, axis, labelSize, scale, labelsFormatter);
        this.barsBackgroundColor = barsBackgroundColor;
        this.barsSpacing = barsSpacing;
    }

    public int getBarsBackgroundColor() {
        return barsBackgroundColor;
    }

    public void setBarsBackgroundColor(int barsBackgroundColor) {
        this.barsBackgroundColor = barsBackgroundColor;
    }

    public Float getBarsSpacing() {
        return barsSpacing;
    }

    public void setBarsSpacing(Float barsSpacing) {
        this.barsSpacing = barsSpacing;
    }
}
